package com.wpp.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

/**
 * @author 吴鹏鹏ppp
 */
@TableName("tb_favoritewebsite")
public class FavoriteWebsite implements Serializable {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer boxId;
    private String name;
    private String img;
    private String url;
    @TableField("`index`")
    private Integer index;

    @Override
    public String toString() {
        return "FavoriteWebsite{" +
                "id=" + id +
                ", boxId=" + boxId +
                ", name='" + name + '\'' +
                ", img='" + img + '\'' +
                ", url='" + url + '\'' +
                '}';
    }

    public Integer getIndex() {
        return index;
    }

    public void setIndex(Integer index) {
        this.index = index;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getBoxId() {
        return boxId;
    }

    public void setBoxId(Integer boxId) {
        this.boxId = boxId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
}
